
@forward 'element-plus/theme-chalk/src/common/var.scss' with (
  $colors: (
    'primary': (
      'base': #006b2c
    ),
    'info': (
      'base': #003366
    ),
    'warning': (
      'base': rgb(199, 150, 4),
    ),
    'danger': (
      'base': rgb(220, 53, 69)
    )
  ),
);

@use "element-plus/theme-chalk/src/index.scss" as *;

@import "./theme.scss";
@import "./grid.scss";
@import "./page.scss";
@import "./project.scss";
@import "./app.scss";

@import './dark.scss';


@font-face {
  font-family: Lato;
  font-weight: 500;
  font-style: normal;
  text-rendering: optimizeLegibility;
  src: url(https://cdnjs.cloudflare.com/ajax/libs/lato-font/3.0.0/fonts/lato-semibold/lato-semibold.woff2) format("woff2"),
    url(https://cdnjs.cloudflare.com/ajax/libs/lato-font/3.0.0/fonts/lato-semibold/lato-semibold.woff) format("woff");
}
@font-face {
  font-family: Lato;
  font-weight: 500;
  font-style: italic;
  text-rendering: optimizeLegibility;
  src: url(https://cdnjs.cloudflare.com/ajax/libs/lato-font/3.0.0/fonts/lato-semibold-italic/lato-semibold-italic.woff2)
      format("woff2"),
    url(https://cdnjs.cloudflare.com/ajax/libs/lato-font/3.0.0/fonts/lato-semibold-italic/lato-semibold-italic.woff) format("woff");
}
@font-face {
  font-family: Lato;
  font-weight: 600;
  font-style: normal;
  text-rendering: optimizeLegibility;
  src: url(https://cdnjs.cloudflare.com/ajax/libs/lato-font/3.0.0/fonts/lato-bold/lato-bold.woff2) format("woff2"),
    url(https://cdnjs.cloudflare.com/ajax/libs/lato-font/3.0.0/fonts/lato-bold/lato-bold.woff) format("woff");
}
@font-face {
  font-family: Lato;
  font-weight: 600;
  font-style: italic;
  text-rendering: optimizeLegibility;
  src: url(https://cdnjs.cloudflare.com/ajax/libs/lato-font/3.0.0/fonts/lato-bold-italic/lato-bold-italic.woff2) format("woff2"),
    url(https://cdnjs.cloudflare.com/ajax/libs/lato-font/3.0.0/fonts/lato-bold-italic/lato-bold-italic.woff) format("woff");
}

html{
  --window--height:100vh;
  --system--height:min(100vh , var(--window--height));
  overflow-x: hidden;
  padding-bottom: calc(100vh - var(--system--height)) !important;
  background: #f9f8f6;
  // background-color: rgb(240, 248, 255);
  // background-image: linear-gradient(to right bottom, rgb(244, 245, 231), rgb(215, 234, 253));
}

#app {
  width:100%;
  height:100%;
  height:100dvh;
  color:#3c3e55;
  font-family: 'MiSans',Arial, Helvetica, sans-serif !important;
}

.el-message{
  border-radius:20px;
  background-color: #fff;
  border:none;
  box-shadow: 0px 2px 6px var(  --el-message-border-color);
}


:root {
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  box-sizing: border-box;
}
html,body{
  margin: 0;
  padding: 0;
  -webkit-font-smoothing: antialiased;
}

ul,li{
  list-style: none;
  padding: 0;
  margin: 0;
}
*,*::before,*::after{
  box-sizing: border-box;
}
a{
  text-decoration: none;
}
p{
  margin:0;
}
::-webkit-scrollbar {
  width: 5px;
  height: 5px;
}
::-webkit-scrollbar-thumb {
  background-color: rgba(0, 0, 0, 0.12);
}
::-webkit-scrollbar-thumb:hover {
  background-color: rgba(0, 0, 0, 0.18);
}
::-webkit-scrollbar-thumb:active {
  background-color: rgba(0, 0, 0, 0.25);
}
::selection{
  background-color: rgba(34, 98, 251, 0.2);
}


/* MX(FULL NAME:MUNOX, A TEAM OF CHIZIINGIIN GROUP) MESSAGE STYLES */

.el-message-box{
  border-radius: 14px;
  padding:20px 24px;
  .el-message-box__title{
    font-size: 14px;
    color:#3c3e55;
    opacity: 0.85;
  }
  .el-message-box__message{
    font-size: 18px;
    color:#3c3e55;
  }
  .el-message-box__headerbtn{
    width:36px;
    height:36px;
    transition: background 0.1s ease;
    background-color: transparent;
    &:hover{
      background-color: rgba(0, 0, 0, 0.03);
    }
  }
  .el-message-box__btns {
    padding-top: 22px;
    button{
      flex:1;
      height:40px;
      border-radius: 8px;
    }
  }
}